home *** CD-ROM | disk | FTP | other *** search
/ The Macintosh Demo Applications CD / Apple-MacintoshDemoApplicationsCD-1.0-1992.iso / More Information / GQL V3.0 / GQL⁄User / GQL_User.rsrc / STR#_1350.txt < prev    next >
Encoding:
Text File  |  1992-08-10  |  515 b   |  45 lines

  1. SQL> 
  2.  
  3. SQL> 
  4.  
  5. set linesize %d%s
  6.  
  7. set numwidth %d%s
  8.  
  9.  
  10.  
  11. select tname, creator from catalog where (tabletype = 'TABLE' or tabletype = 'VIEW') and creator = '^creator^' order by tname;
  12.  
  13. select cname,coltype,nulls,width,scale from columns where tname = '^0' and creator = '^creator^';
  14.  
  15. ERROR
  16.  
  17. ERROR
  18.  
  19.  
  20.  
  21.  
  22.  
  23. create table ^0 (^1);
  24.  
  25. ^0 ^1^2
  26.  
  27. drop table ^0;
  28.  
  29. set long %d%s
  30.  
  31. select count(*) from ^1;
  32.  
  33. select distinct ^0 from ^1 ;
  34.  
  35. update ^0 set ^1 where ^2;
  36.  
  37. insert into ^0 (^1) values (^2);
  38.  
  39. delete from ^0 where ^2;
  40.  
  41.  
  42.  
  43. UPPER
  44.  
  45.